package com.sinosoft.hydra.um.services;

import java.util.List;

import com.sinosoft.hydra.um.domain.permission.SysLogProperty;
import com.sinosoft.hydra.um.repositories.SysLogPropertyRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 日志操作者业务层
 * @author Administrator
 *
 */
@Service
public class SysLogPropertyService {

    @Autowired
    private SysLogPropertyRepository sysLogPropertyRepository;
    /**
     * 根据日志id查询日志操作者的信息
     * @param id
     * @return
     */


    public SysLogProperty findByLogInfo(String id) {
        return sysLogPropertyRepository.findOne(id);
    }


    public void deleteFromInfo(List<String> li) {
        sysLogPropertyRepository.deleteFromInfo(li);
    }
}
